package com.hzyl.famousreader.repository.webservice.model;

/**
 * 登陆凭据JWT
 */
public class Token {

  private String accessToken;

  private String tokenType;

  private String refreshToken;

  private Integer expiresIn;

  private String scope;

  private String jti;

  public String getAccessToken() {
    return accessToken;
  }

  public void setAccessToken(String accessToken) {
    this.accessToken = accessToken;
  }

  public String getTokenType() {
    return tokenType;
  }

  public void setTokenType(String tokenType) {
    this.tokenType = tokenType;
  }

  public String getRefreshToken() {
    return refreshToken;
  }

  public void setRefreshToken(String refreshToken) {
    this.refreshToken = refreshToken;
  }

  public Integer getExpiresIn() {
    return expiresIn;
  }

  public void setExpiresIn(Integer expiresIn) {
    this.expiresIn = expiresIn;
  }

  public String getScope() {
    return scope;
  }

  public void setScope(String scope) {
    this.scope = scope;
  }

  public String getJti() {
    return jti;
  }

  public void setJti(String jti) {
    this.jti = jti;
  }

  @Override
  public String toString() {
    return "Token{" +
      "accessToken='" + accessToken + '\'' +
      ", tokenType='" + tokenType + '\'' +
      ", refreshToken='" + refreshToken + '\'' +
      ", expiresIn=" + expiresIn +
      ", scope='" + scope + '\'' +
      ", jti='" + jti + '\'' +
      '}';
  }
}
